package cn.ylz.ylmall.account.service;

import cn.ylz.ylmall.account.pojo.param.PermissionAddnewParam;
import cn.ylz.ylmall.account.pojo.param.PermissionUpdateParam;
import cn.ylz.ylmall.account.pojo.vo.PageData;
import cn.ylz.ylmall.account.pojo.vo.PermissionListVO;
import cn.ylz.ylmall.account.pojo.vo.PermissionStandardVO;

public interface IPermissionService {

    void addnew(PermissionAddnewParam addnewParam);

    void delete(Long id);

    void update(Long id, PermissionUpdateParam param);

    PermissionStandardVO getPermissionStandard(Long id);

    PageData<PermissionListVO> list(Integer pageNum);

    PageData<PermissionListVO> list(Integer pageNum, Integer pageSize);

}
